package com.gavin.ioc.config;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class UserConfig {
    @Bean
    public String name1(){
        return "lisi05";
    }
    public void print(){
        System.out.println("config");
    }
}
